/**
 * 
 */
package com.chh.mysso.common.enums;

/**
 * @author chh
 *
 */
public enum ErrorCodeEnum {
	
	/**用户登陆异常定义*/
	USER_NOT_EXIST("1001", "用户不存在"),
	USER_PWD_ERROR("1002", "密码错误"),
	;
	
	private ErrorCodeEnum(String code, String desc){
		this.code = code;
		this.desc = desc;
	}

	private String code;
	
	private String desc;

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc the desc to set
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}

